package com.atguigu.demo.mapper;

import com.atguigu.demo.entity.Tiger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TigerMapper {

    List<Tiger> selectByCondition(Tiger condition);

    void updateByCondition(Tiger tiger);

    List<Tiger> selectByConditionTrim(Tiger condition);

    List<Tiger> selectByConditionChoose(Tiger condition);

    int insertTigerList(List<Tiger> tigerList);

    void updateByList(List<Tiger> tigerList);

    Tiger selectById(int tigerId);

    List<Tiger> selectAll();
}
